package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;


@Setter
@Getter
@Document("scenicDetail")
@ToString
public class ScenicDetail extends BaseDomain {
    private String title;
    private String image;
    private String intro;
    private String phone;
    private String url;
    private String time;
    private String transportation;
    private String ticket;
    private String openTime;

    /*public String getJsonString(){
        Map<String,Object> map = new HashMap<>();
        map.put("id", id);
        map.put("info", this.info);

        return JSON.toJSONString(map);
    }*/
}
